<!DOCTYPE html>
<html lang="en">
<head>
<title>教师信息管理系统</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/colorpicker.css" />
<link rel="stylesheet" href="../css/datepicker.css" />
<link rel="stylesheet" href="../css/uniform.css" />
<link rel="stylesheet" href="../css/select2.css" />
<link rel="stylesheet" href="../css/matrix-style2.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link rel="stylesheet" href="../css/bootstrap-wysihtml5.css" />
<link href="../font-awesome/css/font-awesome.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>

<style>
	.control-group .controls label{
		display:inline-block;
	}
    body {
      padding-bottom: 40px;
    }
    .sidebar-nav {
      padding: 9px 0;
    }

    @media (max-width: 980px) {
      /* Enable use of floated navbar text */
      .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
      }
    }

</style>

</head>
<body>

<div id="content">
  <div id="content-header">
      <h1>基本情况</h1>
  </div>
  <div class="container-fluid">
  <div class="row-fluid">
    <div id="form_1" class="span12">
    <div class="widget-box">
      <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
        <h5>基本情况</h5>
      </div>
      <div class="widget-content nopadding">
        <span id="span1" style="color: red;" className="basicInfo"></span>
        <form id="form1" action="#" method="get" class="form-horizontal">
          <input id="cuId" name="cuId" type="text" style="display: none">
          <div class="control-group">
            <label class="control-label">姓名：</label>
            <div class="controls">
              <input name="name" type="text" class="span11"  />
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">照片：</label>
            <div class="controls">
              <input id="imgFile"  type="file" size="29.8" style="opacity: 0;">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">预览：</label>
            <div class="controls">
              <img id="yulan" name="imgUrl" src="" style="width: 120px;height: 150px" alt="等待上传">
              <input name="imgUrl" value="" type="hidden">
            </div>
          </div>

          <div class="control-group">
            <label class="control-label">工号：</label>
            <div class="controls">
              <input name="jobNum" type="text" class="span11"  />
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">性别：</label>
            <div class="controls">
              <input type="radio" name="sex" class="span11" value="男" checked> 男
              <input type="radio" name="sex" class="span11" value="女"> 女
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">民族：</label>
            <div class="controls">
              <input name="nation" type="text" class="span11"  />
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">出生年月：</label>
            <div class="controls">
              <input name="birthday" type="date" class="span11" />
            </div>
          </div>
          <div >
            <label class="control-label">政治面貌：</label>
            <div class="controls">
              <select name="politicsStatus">
                <option>群众</option>
                <option>共青团员</option>
                <option>中共预备党员</option>
                <option>中共党员</option>
              </select>
            </div>
          </div>
          <div  >
            <label class="control-label">证件类型：</label>
            <div  class="controls">
              <select name="certType">
                <option>身份证</option>
                <option>护照</option>
              </select>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">证件号：</label>
            <div class="controls">
              <input name="certNum" type="text" class="span11"  />
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">专业技术职务：</label>
            <div class="controls">
              <input name="skillJob" type="text" class="span11"  />
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">行政职务：</label>
            <div class="controls">
              <input name="adminJob" type="text" class="span11"  />
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">是否外聘：</label>
            <div class="controls">
              <input type="radio" name="isExternal" class="span11" value="是"> 是
              <input type="radio" name="isExternal" class="span11" value="否" checked> 否
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">是否青年骨干教师：</label>
            <div class="controls">
              <input type="radio" name="isBackbone" class="span11" value="是" > 是
              <input type="radio" name="isBackbone" class="span11" value="否" checked> 否
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">是否双师教师：</label>
            <div class="controls">
              <input type="radio" name="isDouble" class="span11" value="是" > 是
              <input type="radio" name="isDouble" class="span11" value="否" checked> 否
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">是否创新创业教师：</label>
            <div class="controls">
              <input type="radio" name="isInnovate" class="span11" value="是" > 是
              <input type="radio" name="isInnovate" class="span11" value="否" checked> 否
            </div>
          </div>

        </form>

        <center>
          <div class="control-group">
            <div class="controls">
              <label class="control-label">Excel：</label>
              <input id="excel"  type="file" size="15" style="opacity: 0;">
              <button id="leadIn" class="btn btn-primary btn-large" style="margin-bottom: 20px;border-radius: 5px">导入Excel</button>
            </div>
          </div>
          <form action="/basicInfo/leadOut" method="post" style="display: inline-block;">
            <input id="cuId2" name="cuId" type="text" style="display: none" >
            <input type="submit" class="btn btn-info btn-large" style="margin-bottom: 20px;border-radius: 5px"; value="保存为Excel";>
          </form>
          <button id="btn1" class="btn btn-success btn-large" style="margin-bottom: 20px;border-radius: 5px">保存基本信息</button>
        </center>

      </div>
    </div>
  </div>
  </div>
</div>
</div>

<script src="http://www.jq22.com/jquery/jquery-1.7.1.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-colorpicker.js"></script>
<script src="../js/bootstrap-datepicker.js"></script>

<script src="../js/masked.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.form_common.js"></script>
<script src="../js/wysihtml5-0.3.0.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/bootstrap-wysihtml5.js"></script>
<script type="text/javascript" src="../js/jquery.cookie.js"></script>
<script src="../js/tool.js"></script>
<script>
  $(function () {
    var CLASS_NAME=$("#span1").attr("className");
    //加载表单
    tolLadData(CLASS_NAME);
    upLoadImg();
    //保存
    $("#btn1").click(function () {
        var r = confirm("* 专业教师指从事专业课（含专业基础课）教学工作的专任教师（含实验教师）、外聘教师。\n" +
              "* 外聘教师指外聘的国内及外籍非本校教师，本校教师填写身份证号，外籍教师填写护照号。\n" +
              "* 需提供资料：身份证，聘任证书，专业技术资格证书，教师资格证书。\n\n" +
              "\t\t\t\t\t\t\t您是否确定保存？")
        if (r == true) {
          add(CLASS_NAME);
        }
      })

  })

</script>
</body>
</html>
